package com.example.sunmiv1.entity;

import java.util.ArrayList;

/**
 * @author Apathy、恆
 * <p>
 * 子類分組的實體
 */

public class ParentEntity {

    private int groupColor;

    private String id;
    private String groupName;

    private ArrayList<ChildEntity> childs;


    /* ==========================================================
     * ======================= get method =======================
     * ========================================================== */

    public int getGroupColor() {
        return groupColor;
    }

    public String getGroupName() {
        return groupName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public ArrayList<ChildEntity> getChilds() {
        return childs;
    }

    /* ==========================================================
     * ======================= set method =======================
     * ========================================================== */

    public void setGroupColor(int groupColor) {
        this.groupColor = groupColor;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public void setChilds(ArrayList<ChildEntity> childs) {
        this.childs = childs;
    }

}

